#ifndef __TIMER_0_H__
#define __TIMER_0_H__

#include  "CONFIG.H"
#include   "TIMER.H"

#define TIMER_0_ON TR0 = 1 //定时器0开启
#define TIMER_0_OFF TR0 = 0 //定时器0关闭

#define SPEED_1 0XD4CD  //速度延时 1~4ms
#define SPEED_2 0XA99a
#define SPEED_3 0x7E66
#define SPEED_4 0x5333

/*
    定时初始化
    @param speed 定时时长
*/
void Timer_0_Servo_Com(u16 speed);


#endif 
